package com.zzl.alligator.common.enums;

/**
 * 用户状态枚举类
 *
 * @author zhouziliang
 * @since 2020/6/27
 */
public enum UserStatusEnum {
    // 正常
    OK("0", "正常"),
    // 停用
    DISABLE("1", "停用"),
    // 删除
    DELETED("2", "删除");

    private final String code;
    private final String info;


    UserStatusEnum(String code, String info) {
        this.code = code;
        this.info = info;
    }

    public String getCode() {
        return code;
    }

    public String getInfo() {
        return info;
    }
}
